package cmd

import (
	"fmt"
	"log"
	"os"

	"github.com/spf13/cobra"
)

var rootCmd = &cobra.Command{
	Use:   "111",
	Short: "-v",
	Long:  `111`,
	Run: func(cmd *cobra.Command, args []string) {
		usageStr := `欢迎，可以使用-h查看命令`
		log.Printf("%s\n", usageStr)
	},
}

func init() {
}

func Execute() {
	if err := rootCmd.Execute(); err != nil {
		fmt.Println(err)
		os.Exit(-1)
	}
}
